package com.gopay.common.domain.pg;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.SequenceGenerator;
import javax.persistence.Table;

/**
 * 
 * @PgBtFormalitiesTransDtl.java
 * @author GongZhong
 * @2013-1-4 下午02:01:01 www.gopay.com.cn Inc.All rights reserved.
 */
@Entity
@Table(name = "PG_BT_FORMALITIES_TRANS_DTL")
public class PgBtFormalitiesTransDtl implements java.io.Serializable {
    /**
      * 
      */
    private static final long serialVersionUID = 1L;

    private int transDtlSq;
    private String merId;
    private String merOrderId;
    private String merTxnCd;
    private Date merTxnTm;
    private Date gopayTxnTm;
    private String constracterId;
    private String checkInFlag;
    private String checkInTime;
    private String marketAcct;
    private String marketCustId;
    private String memberAcct;
    private String memberCustId;
    private String memberName;
    private String gatewayVersion;
    private String charset;
    private String language;
    private String signType;
    private String rspCode;
    private String transLaunchIp;
    private String sysRemark;
    private Date createdTs;
    private Date lastUpdTs;
    private String lastUpdTrancode;
    private String merNotifyFrontUrl;
    private String merNotifyServerUrl;
    private String merRemark3;
    private String merRemark1;
    private String merRemark2;
    private String merRemark4;
    private String merRemark5;

    public PgBtFormalitiesTransDtl() {
    }

    @Id
    @SequenceGenerator(name = "PgBTFormalitiesTranSequence", sequenceName = "PG_GEN_ORDER_TRANS_DTL_SEQ")
    @GeneratedValue(generator = "PgBTFormalitiesTranSequence", strategy = GenerationType.SEQUENCE)
    @Column(name = "TRANS_DTL_SQ", unique = true, nullable = false, precision = 22, scale = 0)
    public int getTransDtlSq() {
        return this.transDtlSq;
    }

    public void setTransDtlSq(int transDtlSq) {
        this.transDtlSq = transDtlSq;
    }

    @Column(name = "MER_ID", nullable = false, length = 10)
    public String getMerId() {
        return this.merId;
    }

    public void setMerId(String merId) {
        this.merId = merId;
    }

    @Column(name = "MER_ORDER_ID", nullable = false)
    public String getMerOrderId() {
        return this.merOrderId;
    }

    public void setMerOrderId(String merOrderId) {
        this.merOrderId = merOrderId;
    }

    @Column(name = "MER_TXN_CD", nullable = false, length = 10)
    public String getMerTxnCd() {
        return this.merTxnCd;
    }

    public void setMerTxnCd(String merTxnCd) {
        this.merTxnCd = merTxnCd;
    }

    @Column(name = "MER_TXN_TM")
    public Date getMerTxnTm() {
        return this.merTxnTm;
    }

    public void setMerTxnTm(Date merTxnTm) {
        this.merTxnTm = merTxnTm;
    }

    @Column(name = "GOPAY_TXN_TM", nullable = false)
    public Date getGopayTxnTm() {
        return this.gopayTxnTm;
    }

    public void setGopayTxnTm(Date gopayTxnTm) {
        this.gopayTxnTm = gopayTxnTm;
    }

    @Column(name = "CONSTRACTER_ID", length = 18)
    public String getConstracterId() {
        return this.constracterId;
    }

    public void setConstracterId(String constracterId) {
        this.constracterId = constracterId;
    }

    @Column(name = "CHECK_IN_FLAG", length = 1)
    public String getCheckInFlag() {
        return this.checkInFlag;
    }

    public void setCheckInFlag(String checkInFlag) {
        this.checkInFlag = checkInFlag;
    }

    @Column(name = "CHECK_IN_TIME", length = 14)
    public String getCheckInTime() {
        return this.checkInTime;
    }

    public void setCheckInTime(String checkInTime) {
        this.checkInTime = checkInTime;
    }

    @Column(name = "MARKET_ACCT", length = 19)
    public String getMarketAcct() {
        return this.marketAcct;
    }

    public void setMarketAcct(String marketAcct) {
        this.marketAcct = marketAcct;
    }

    @Column(name = "MARKET_CUST_ID", length = 10)
    public String getMarketCustId() {
        return this.marketCustId;
    }

    public void setMarketCustId(String marketCustId) {
        this.marketCustId = marketCustId;
    }

    @Column(name = "MEMBER_ACCT", length = 19)
    public String getMemberAcct() {
        return this.memberAcct;
    }

    public void setMemberAcct(String memberAcct) {
        this.memberAcct = memberAcct;
    }

    @Column(name = "MEMBER_CUST_ID", length = 10)
    public String getMemberCustId() {
        return this.memberCustId;
    }

    public void setMemberCustId(String memberCustId) {
        this.memberCustId = memberCustId;
    }

    @Column(name = "MEMBER_NAME", length = 100)
    public String getMemberName() {
		return memberName;
	}

	public void setMemberName(String memberName) {
		this.memberName = memberName;
	}

	@Column(name = "GATEWAY_VERSION", nullable = false, length = 5)
    public String getGatewayVersion() {
        return this.gatewayVersion;
    }

    public void setGatewayVersion(String gatewayVersion) {
        this.gatewayVersion = gatewayVersion;
    }

    @Column(name = "CHARSET", length = 1)
    public String getCharset() {
        return this.charset;
    }

    public void setCharset(String charset) {
        this.charset = charset;
    }

    @Column(name = "LANGUAGE", length = 1)
    public String getLanguage() {
        return this.language;
    }

    public void setLanguage(String language) {
        this.language = language;
    }

    @Column(name = "SIGN_TYPE", length = 1)
    public String getSignType() {
        return this.signType;
    }

    public void setSignType(String signType) {
        this.signType = signType;
    }

    @Column(name = "RSP_CODE", length = 4)
    public String getRspCode() {
        return this.rspCode;
    }

    public void setRspCode(String rspCode) {
        this.rspCode = rspCode;
    }

    @Column(name = "TRANS_LAUNCH_IP", length = 50)
    public String getTransLaunchIp() {
        return this.transLaunchIp;
    }

    public void setTransLaunchIp(String transLaunchIp) {
        this.transLaunchIp = transLaunchIp;
    }

    @Column(name = "SYS_REMARK", length = 200)
    public String getSysRemark() {
        return this.sysRemark;
    }

    public void setSysRemark(String sysRemark) {
        this.sysRemark = sysRemark;
    }

    @Column(name = "CREATED_TS")
    public Date getCreatedTs() {
        return this.createdTs;
    }

    public void setCreatedTs(Date createdTs) {
        this.createdTs = createdTs;
    }

    @Column(name = "LAST_UPD_TS")
    public Date getLastUpdTs() {
        return this.lastUpdTs;
    }

    public void setLastUpdTs(Date lastUpdTs) {
        this.lastUpdTs = lastUpdTs;
    }

    @Column(name = "LAST_UPD_TRANCODE", length = 10)
    public String getLastUpdTrancode() {
        return this.lastUpdTrancode;
    }

    public void setLastUpdTrancode(String lastUpdTrancode) {
        this.lastUpdTrancode = lastUpdTrancode;
    }

    @Column(name = "MER_REMARK3", length = 500)
    public String getMerRemark3() {
        return this.merRemark3;
    }

    public void setMerRemark3(String merRemark3) {
        this.merRemark3 = merRemark3;
    }

    @Column(name = "MER_REMARK1", length = 500)
    public String getMerRemark1() {
        return this.merRemark1;
    }

    public void setMerRemark1(String merRemark1) {
        this.merRemark1 = merRemark1;
    }

    @Column(name = "MER_REMARK2", length = 500)
    public String getMerRemark2() {
        return this.merRemark2;
    }

    public void setMerRemark2(String merRemark2) {
        this.merRemark2 = merRemark2;
    }

    @Column(name = "MER_REMARK4", length = 500)
    public String getMerRemark4() {
        return this.merRemark4;
    }

    public void setMerRemark4(String merRemark4) {
        this.merRemark4 = merRemark4;
    }

    @Column(name = "MER_REMARK5", length = 500)
    public String getMerRemark5() {
        return this.merRemark5;
    }

    public void setMerRemark5(String merRemark5) {
        this.merRemark5 = merRemark5;
    }

    /**
     * @return the merNotifyFrontUrl
     */
    @Column(name = "MER_NOTIFY_FRONT_URL", length = 500)
    public String getMerNotifyFrontUrl() {
        return merNotifyFrontUrl;
    }

    /**
     * @param merNotifyFrontUrl the merNotifyFrontUrl to set
     */
    public void setMerNotifyFrontUrl(String merNotifyFrontUrl) {
        this.merNotifyFrontUrl = merNotifyFrontUrl;
    }

    /**
     * @return the merNotifyServerUrl
     */
    @Column(name = "MER_NOTIFY_SERVER_URL", length = 500)
    public String getMerNotifyServerUrl() {
        return merNotifyServerUrl;
    }

    /**
     * @param merNotifyServerUrl the merNotifyServerUrl to set
     */
    public void setMerNotifyServerUrl(String merNotifyServerUrl) {
        this.merNotifyServerUrl = merNotifyServerUrl;
    }
    
    

}
